package com.xinziruo.crawl.infrastruture.support.command;

/**
 * 
 * @author loudyn
 * 
 */
public interface Command {

	/**
	 * 
	 * @return
	 */
	int length();

	/**
	 * 
	 * @return
	 */
	byte contentType();

	/**
	 * 
	 * @return
	 */
	byte[] content();

	/**
	 * 
	 * @param content
	 * @return
	 */
	Command content(byte[] content);

}
